---
title: openSidebar
icon: '#ref/F'
---

| packages | `@univerjs/preset-sheets-core` \| `@univerjs/preset-docs-core` \| `@univerjs/ui` |
| --- | --- |

```typescript
// [!code word:options]
univerAPI.openSidebar(options)
```

## ISidebarMethodOptions

<AutoTypeTable
  name="ISidebarMethodOptions"
  type={`
    export type { ISidebarMethodOptions } from '@univerjs/preset-sheets-core'
  `}
/>

## Returns

<AutoTypeTable
  name="OpenSidebarReturns"
  type={`
    import { FUniver } from '@univerjs/core/facade'
    import '@univerjs/ui/facade'
    export type OpenSidebarReturns = ReturnType<typeof FUniver.prototype.openSidebar>
  `}
/>
